package com.sky.service.user.impl;

import com.sky.mapper.user.UserMapper;
import com.sky.pojo.User;
import com.sky.service.user.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 用户模块业务层实现类
 *
 * @Author mr.li
 * @Date 2025/7/27 15:56
 */

@Service
public class UserServiceImpl  implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserOpenId(String openId) {
        return userMapper.getUserOpenId(openId);


    }

    @Override
    public void insert(User user) {

        userMapper.insert(user);
    }
}
